﻿<UserControl x:Class="AppCommerciaux.Views.UserControlAuthentification"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid HorizontalAlignment="Left" Margin="0,0,-510,-140" Width="810" >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="177*"/>
            <ColumnDefinition Width="196*"/>
            <ColumnDefinition Width="568*"/>
        </Grid.ColumnDefinitions>
        
        <Grid x:Name="gridConnexion" Grid.ColumnSpan="3" Margin="95,10,250,68">
            <TextBox x:Name="textBoxLogin" HorizontalAlignment="Left" Height="29" Margin="0,58,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="175" FontSize="16"/>
            <PasswordBox x:Name="passwordBox" HorizontalAlignment="Left" Margin="0,126,0,0" VerticalAlignment="Top" Width="175" Height="29"/>
            <Label Content="Login" HorizontalAlignment="Left" VerticalAlignment="Top" Width="175" FontSize="16" Margin="0,29,0,0"/>
            <Label Content="Mot de passe" HorizontalAlignment="Left" Margin="0,92,0,0" VerticalAlignment="Top" Width="175" FontSize="16"/>
            <Button x:Name="buttonConnexion" Content="Connexion" HorizontalAlignment="Left" Margin="0,190,0,0" VerticalAlignment="Top" Width="175" Height="29" FontSize="16" Click="buttonConnexion_Click"/>
        </Grid>
        <Grid x:Name="gridSaisieInfos" Grid.Column="2" Margin="188,53,49,238" Visibility="Collapsed">
            <Label x:Name="labelNom" Content="Nom" HorizontalAlignment="Left" Height="29" VerticalAlignment="Top" Width="80" FontSize="16"/>
            <Label x:Name="labelPrenom" Content="Prénom" HorizontalAlignment="Left" Height="29" Margin="0,65,0,0" VerticalAlignment="Top" Width="80" FontSize="16"/>
            <TextBox x:Name="textboxNom" HorizontalAlignment="Left" Height="29" Margin="0,26,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="251" FontSize="16"/>
            <TextBox x:Name="textboxPrenom" HorizontalAlignment="Left" Height="29" Margin="0,93,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="251" FontSize="16"/>
            <Button x:Name="buttonCreation" HorizontalAlignment="Left" Margin="415,79,-238,-26" VerticalAlignment="Top" Width="75" Height="96" FontSize="16" Click="buttonCreation_Click" Content="Création"/>

        </Grid>
        <Grid x:Name="gridInfoConnexion" Margin="11,10,10,366" Grid.ColumnSpan="3" Visibility="Collapsed">
            <Label x:Name="labelInfoConnexion" Content="labelInfoConnexion" HorizontalAlignment="Left" Height="54" VerticalAlignment="Top" Width="779" FontSize="16"/>

        </Grid>
        <Grid x:Name="gridChangerMdp" HorizontalAlignment="Left" Height="362" Margin="-150,-11,0,0" VerticalAlignment="Top" Width="785" Grid.ColumnSpan="3" Visibility="Collapsed">
            <Label Content="Mot de passe actuel" HorizontalAlignment="Left" Margin="465,50,0,0" VerticalAlignment="Top" FontSize="16"/>
            <PasswordBox x:Name="passwordBoxActuel" HorizontalAlignment="Left" Height="30" Margin="465,84,0,0" VerticalAlignment="Top" Width="175"/>
            <Label Content="Nouveau mot de passe" HorizontalAlignment="Left" Margin="468,119,0,0" VerticalAlignment="Top" FontSize="16"/>
            <PasswordBox x:Name="passwordBoxFutur1" HorizontalAlignment="Left" Margin="465,148,0,0" VerticalAlignment="Top" Height="30" Width="175"/>
            <Label Content="Confirmation" HorizontalAlignment="Left" Margin="468,183,0,0" VerticalAlignment="Top" FontSize="16"/>
            <PasswordBox x:Name="passwordBoxFutur2" HorizontalAlignment="Left" Margin="465,212,0,0" VerticalAlignment="Top" Height="29" Width="175"/>
            <Button x:Name="buttonValidation" Content="Validation" HorizontalAlignment="Left" Height="30" Margin="465,256,0,0" VerticalAlignment="Top" Width="175" FontSize="16" Click="buttonValidation_Click"/>
        </Grid>

    </Grid>
</UserControl>
